<template>
  <nav>
    <router-link to="/">Home</router-link> |
    <router-link to="/about">About</router-link> |
    <router-link to="/a">A文本相关指令</router-link> |
    <router-link to="/b">B属性绑定指令</router-link> |
    <router-link to="/c">C双向绑定指令</router-link> |
    <router-link to="/d">D事件绑定指令</router-link> |
    <router-link to="/e">E循环指令</router-link> |
    <router-link to="/f">F隐藏显示指令</router-link> |
    <br>
    <router-link to="/g">G计算器练习</router-link> |
    <router-link to="/h">H猜数字练习</router-link> |
    <router-link to="/i">I员工列表练习</router-link> |
    <router-link to="/j">J个人简历练习</router-link> |
    <br>
    <router-link to="/k">KEl-按钮组件</router-link> |
    <router-link to="/l">LEL-图标组件</router-link> |
    <router-link to="/m">MEL-消息提示组件</router-link> |
    <router-link to="/n">NEL-单选组件</router-link> |
    <router-link to="/o">OEL-选择器组件</router-link> |
    <router-link to="/p">PEL-开关组件</router-link> |
    <router-link to="/q">QEL-表单组件</router-link> |
    <router-link to="/r">REL-表格组件</router-link> |
    <router-link to="/s">SEl-菜单组件</router-link> |
    <router-link to="/t">TEl-布局组件</router-link> |
    <router-link to="/u">UEL-容器组件</router-link> |
    <router-link to="/v">VEL-走马灯组件</router-link> |
    <router-link to="/w">WEL-气泡卡片组件</router-link> |
    <router-link to="/x">XEL-卡片组件</router-link> |
    <router-link to="/y">YEL-员工列表作业</router-link> |
    <router-link to="/z">ZEL-页面综合练习</router-link> |
  </nav>
<!--可变区域-->
  <router-view/>
</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  padding: 30px;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
}

nav a.router-link-exact-active {
  color: #42b983;
}
</style>
